home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / diskutil / dubl_bin.lzh / DUBL_VIS.DOC next >
Encoding:
Text File  |  1990-07-25  |  4.8 KB  |  103 lines

  1.                    The Double Vision Formatter
  2.                        by Samuel Streeper
  3.  
  4. The Double Vision formatter formats disks such that they are
  5. readable on both single and double sided disk drives. Single side
  6. users will have access to 400K of data, while double sided users
  7. will be able to read the complete 800K disk.
  8.  
  9. To create a Double Vision disk, select "Format" and "Protect Side 2"
  10. and click on "Do It!"  This will format a disk as an 80 track, 10
  11. sector disk, and side 2 will be protected. Now copy all the files
  12. you want onto this disk, and they will all be readable on both
  13. single and double sided drives. When you have filled up side 1,
  14. select "Unprotect Side 2" and click on "Do It!"  Side 2 will be
  15. marked as available and a folder named "SIDE2" will be created.
  16. Any files you now write to the disk will be readable only with a
  17. double sided disk drive. If you put all the side 2
  18. files in the "SIDE2" directory, there will be no question as to
  19. which files are only readable on a double sided disk drive.
  20.  
  21. Double Vision can be run as a program or a desk accessory. Running
  22. it as a desk accessory will make unprotecting side 2 easier.
  23. Simply change the file name from "DUBL_VIS.PRG" to "DUBL_VIS.ACC".
  24.  
  25. A few notes:
  26.  
  27.         o  When you format a disk it erases everything that was on it
  28.            before. (You knew that.)
  29.  
  30.         o  You can only create Double Vision disks with a double sided
  31.            drive.
  32.  
  33.         o  I don't recommend protecting or unprotecting disks that
  34.            were not formatted with Double Vision.
  35.  
  36.         o  It is OK to protect or unprotect side 2 even if side 2
  37.            already has some files on it. Double Vision will not
  38.            change the status of in-use sectors on side 2.
  39.  
  40.         o  The Double Vision formatter requires error free disks, and it
  41.            will tell you if the disk has an error when it formats it.
  42.  
  43.         o  Any files written after unprotecting side 2 will not be
  44.            readable on a single sided drive.
  45.  
  46.         o  Double sided disk drives can always read and write to
  47.            Double Vision disks. Single sided drives can only read the
  48.            files that were written to the disk while it was protected,
  49.            and can only write to the disk if it is protected.
  50.  
  51.         o  The root directory is limited to 48 files or subdirectories.
  52.            Subdirectories may have as many files or subdirectories
  53.            as you wish.
  54.  
  55.         o  Any time you click on "Do It!" to format, protect, or
  56.            unprotect a disk, Double Vision will make the disk
  57.            boot sector not executable. This tends to kill most
  58.            boot sector viruses, although if your system is already
  59.            infected, a virus in computer memory could rewrite 
  60.            the boot sector again. Anyway, it will help protect you
  61.            if a virus is on the disk but you haven't booted from
  62.            the infected disk.
  63.  
  64. Other things:
  65. Double Vision does not skew sectors when it formats a disk. This is
  66. pretty easy to add if the program is run on tos 1.4 or better, but
  67. the ideal skew is different depending on whether the file being read
  68. exists on only one side or on both. At any rate, some skew would
  69. probably be faster than none at all, so I may add this in the future.
  70.  
  71. Why it works:
  72. It stands to reason that a single sided drive will be able to read
  73. a double sided disk until it tries to access the second side of the
  74. disk, and then it will fail. Normal ST double sided disks have a
  75. good sized root directory, and 2 Fat tables that are bigger than they
  76. need to be. Consequently the ST will normally need to read the second
  77. side of the disk to access a double sided disk.
  78.  
  79. Double Vision uses 1 boot sector, a 3 sector root directory, and two
  80. 3 sector FAT's (total 10 sectors). A normal ST disk is a 9 sector disk,
  81. but Double Vision formats 10 sector disks, so all the critical disk
  82. information fits on the first side. Now if we indicate in the FATs
  83. that all sectors on side 2 are bad, a file will be written only to
  84. sectors on side 1 of the disk. Even after we mark the sectors on
  85. side 2 as good again, a single sided drive will be able to read the
  86. file because when it follows the FAT links it will only access
  87. sectors on side 1. It will not even try to read or write a sector
  88. on side 2, so it will not fail.
  89.  
  90.  
  91. I cannot take complete credit for the Double Vision formatter, as the
  92. concept was originally from a disk modifier by Marc Young. I fixed a
  93. couple of small things, added the formatting and interface code and
  94. the ability to repeatedly protect and unprotect a disk without
  95. trashing files on side 2. This program and its source code may
  96. be freely distributed.
  97.  
  98. Double Vision was written in Laser C.
  99.  
  100. Samuel Streeper
  101. 1333 Wenatchee Avenue
  102. El Cajon, CA 92021  USA
  103.